Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for automatic recompilation of dependent functions #10

Merged
merged 1 commit into from
Dec 23, 2016

Conversation

omus
Copy link
Member

@omus omus commented Dec 23, 2016

The Julia PR JuliaLang/julia#17057 (the fix for issue JuliaLang/julia#265) introduced some changes which made it invalid to call a function which was compiled after the function containing the call was compiled. This particular problem would occur when using the apply do-block patching.

The Julia PR #17057 (the fix for issue #265) introduced some changes
which made it invalid to call a function which was compiled after the
call was compiled. This particular problem would occur when using the
`apply` do-block.

Note we could mostly avoid using `eval(Expr(:call, ...` if we force
users to make a PatchEnv prior to using the apply do-block.
Unfortunately this solution does not work with mocking a nested function
and also is less user friendly.
@omus omus self-assigned this Dec 23, 2016
@codecov-io
Copy link

codecov-io commented Dec 23, 2016

Current coverage is 93.08% (diff: 100%)

Merging #10 into master will not change coverage

@@             master        #10   diff @@
==========================================
  Files             2          2          
  Lines           159        159          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits            148        148          
  Misses           11         11          
  Partials          0          0          

Powered by Codecov. Last update 6329744...0944c4c

@omus omus merged commit 7b7bc78 into master Dec 23, 2016
@omus omus deleted the redefinition-fixes branch December 23, 2016 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants